<template>
  <span class="qc-link" @click="handleClick">
    <slot></slot>
  </span>
</template>
<script>
export default {
  methods: {
    handleClick(event) {
      this.$emit("click", event);
    }
  }
};
</script>

<style scoped>
.qc-link {
  color: #1890ff;
  cursor: pointer;
}
</style>